package com.ljy.farm.datasource.mappers;

import com.ljy.farm.datasource.entities.Msg;
import com.ljy.farm.datasource.entities.MsgExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MsgMapper {

    int countByExample(MsgExample example);


    int deleteByExample(MsgExample example);


    int deleteByPrimaryKey(Long id);


    int insert(Msg record);


    int insertSelective(Msg record);

    List<Msg> selectByExample(MsgExample example);


    Msg selectByPrimaryKey(Long id);


    int updateByExampleSelective(@Param("record") Msg record, @Param("example") MsgExample example);


    int updateByExample(@Param("record") Msg record, @Param("example") MsgExample example);


    int updateByPrimaryKeySelective(Msg record);


    int updateByPrimaryKey(Msg record);
}